package com.kamistoat.ruoyiapisystem.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kamistoat.common.utils.PageUtils;
import com.kamistoat.common.utils.Query;

import com.kamistoat.ruoyiapisystem.dao.SysJobLogDao;
import com.kamistoat.ruoyiapisystem.entity.SysJobLogEntity;
import com.kamistoat.ruoyiapisystem.service.SysJobLogService;


@Service("sysJobLogService")
public class SysJobLogServiceImpl extends ServiceImpl<SysJobLogDao, SysJobLogEntity> implements SysJobLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysJobLogEntity> page = this.page(
                new Query<SysJobLogEntity>().getPage(params),
                new QueryWrapper<SysJobLogEntity>()
        );

        return new PageUtils(page);
    }

}